class CreateAccounts < ActiveRecord::Migration
    def self.up
        create_table :accounts do |t|
            t.column :login, :string, :default => nil
            t.column :password, :string, :default => nil
        end
        
        Account.create(:login => 'admin',:password => 'password')
    end
    
    def self.down
        drop_table :accounts
    end
end